package com.kbs.pay.management.model;

import java.io.Serializable;
import java.util.Date;

/**
 * @Author: jianchen
 * @Date: 2019/6/21 15:23
 * @Description: 退款日志
 */
public class RefundLog implements Serializable {
    /**
     * 退款记录id
     */
    private Long refundLogId;

    /**
     * 退款订单号
     */
    private String refundOrderNo;

    /**
     * 退款第三方号
     */
    private String refundThirdNo;

    /**
     * 支付订单id
     */
    private Long payOrderId;

    /**
     * 退款金额
     */
    private Integer refundAmount;

    /**
     * 实际退款金额
     */
    private Integer actualRefundAmount;

    /**
     * 退款原因
     */
    private String refundReason;

    /**
     * 退款类型(1微信 2支付宝)
     */
    private Integer refundType;

    /**
     * 退款时间
     */
    private Date refundTime;

    /**
     * 退款状态: 1 成功 2 失败
     */
    private Integer refundStatus;

    /**
     * 退款到账用户
     */
    private Long userRefundTo;

    /**
     * 创建时间
     */
    private Date createTime;

    /**
     *
     */
    private Long createBy;

    /**
     *
     */
    private Date updateTime;

    /**
     *
     */
    private Long updateBy;

    /**
     *
     */
    private String isDelete;

    private static final long serialVersionUID = 1L;

    public Long getRefundLogId() {
        return refundLogId;
    }

    public void setRefundLogId(Long refundLogId) {
        this.refundLogId = refundLogId;
    }

    public String getRefundOrderNo() {
        return refundOrderNo;
    }

    public void setRefundOrderNo(String refundOrderNo) {
        this.refundOrderNo = refundOrderNo;
    }

    public String getRefundThirdNo() {
        return refundThirdNo;
    }

    public void setRefundThirdNo(String refundThirdNo) {
        this.refundThirdNo = refundThirdNo;
    }

    public Long getPayOrderId() {
        return payOrderId;
    }

    public void setPayOrderId(Long payOrderId) {
        this.payOrderId = payOrderId;
    }

    public Integer getRefundAmount() {
        return refundAmount;
    }

    public void setRefundAmount(Integer refundAmount) {
        this.refundAmount = refundAmount;
    }

    public Integer getActualRefundAmount() {
        return actualRefundAmount;
    }

    public void setActualRefundAmount(Integer actualRefundAmount) {
        this.actualRefundAmount = actualRefundAmount;
    }

    public String getRefundReason() {
        return refundReason;
    }

    public void setRefundReason(String refundReason) {
        this.refundReason = refundReason;
    }

    public Integer getRefundType() {
        return refundType;
    }

    public void setRefundType(Integer refundType) {
        this.refundType = refundType;
    }

    public Date getRefundTime() {
        return refundTime;
    }

    public void setRefundTime(Date refundTime) {
        this.refundTime = refundTime;
    }

    public Integer getRefundStatus() {
        return refundStatus;
    }

    public void setRefundStatus(Integer refundStatus) {
        this.refundStatus = refundStatus;
    }

    public Long getUserRefundTo() {
        return userRefundTo;
    }

    public void setUserRefundTo(Long userRefundTo) {
        this.userRefundTo = userRefundTo;
    }

    public Date getCreateTime() {
        return createTime;
    }

    public void setCreateTime(Date createTime) {
        this.createTime = createTime;
    }

    public Long getCreateBy() {
        return createBy;
    }

    public void setCreateBy(Long createBy) {
        this.createBy = createBy;
    }

    public Date getUpdateTime() {
        return updateTime;
    }

    public void setUpdateTime(Date updateTime) {
        this.updateTime = updateTime;
    }

    public Long getUpdateBy() {
        return updateBy;
    }

    public void setUpdateBy(Long updateBy) {
        this.updateBy = updateBy;
    }

    public String getIsDelete() {
        return isDelete;
    }

    public void setIsDelete(String isDelete) {
        this.isDelete = isDelete;
    }

    @Override
    public String toString() {
        return "RefundLog{" +
                "refundLogId=" + refundLogId +
                ", refundOrderNo='" + refundOrderNo + '\'' +
                ", refundThirdNo='" + refundThirdNo + '\'' +
                ", payOrderId=" + payOrderId +
                ", refundAmount=" + refundAmount +
                ", actualRefundAmount=" + actualRefundAmount +
                ", refundReason='" + refundReason + '\'' +
                ", refundType=" + refundType +
                ", refundTime=" + refundTime +
                ", refundStatus=" + refundStatus +
                ", userRefundTo=" + userRefundTo +
                ", createTime=" + createTime +
                ", createBy=" + createBy +
                ", updateTime=" + updateTime +
                ", updateBy=" + updateBy +
                ", isDelete='" + isDelete + '\'' +
                '}';
    }
}